<html>
<head>
<title>sqlMapConfig.xml</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
.s0 { color: #e8bf6a;}
.s1 { color: #bababa;}
.s2 { color: #6a8759;}
.s3 { color: #a9b7c6;}
</style>
</head>
<body bgcolor="#2b2b2b">
<table CELLSPACING=0 CELLPADDING=5 COLS=1 WIDTH="100%" BGCOLOR="#606060" >
<tr><td><center>
<font face="Arial, Helvetica" color="#000000">
sqlMapConfig.xml</font>
</center></td></tr></table>
<pre><span class="s0">&lt;?</span><span class="s1">xml version</span><span class="s2">=&quot;1.0&quot; </span><span class="s1">encoding</span><span class="s2">=&quot;UTF-8&quot; </span><span class="s0">?&gt;</span>
<span class="s0">&lt;!DOCTYPE </span><span class="s1">configuration </span><span class="s0">PUBLIC </span><span class="s2">&quot;-//mybatis.org//DTD Config 3.0//EN&quot; &quot;http://mybatis.org/dtd/mybatis-3-config.dtd&quot;</span><span class="s0">&gt;</span>
<span class="s0">&lt;configuration&gt;</span>
    <span class="s0">&lt;properties </span><span class="s1">resource</span><span class="s2">=&quot;jdbc.properties&quot;</span><span class="s0">&gt;&lt;/properties&gt;</span>

    <span class="s0">&lt;typeAliases&gt;</span>
        <span class="s0">&lt;typeAlias </span><span class="s1">type</span><span class="s2">=&quot;com.itheima.domain.Account&quot; </span><span class="s1">alias</span><span class="s2">=&quot;account&quot;</span><span class="s0">&gt;&lt;/typeAlias&gt;</span>
    <span class="s0">&lt;/typeAliases&gt;</span>

    <span class="s0">&lt;environments </span><span class="s1">default</span><span class="s2">=&quot;development&quot;</span><span class="s0">&gt;</span>
        <span class="s0">&lt;environment </span><span class="s1">id</span><span class="s2">=&quot;development&quot;</span><span class="s0">&gt;</span>
            <span class="s0">&lt;transactionManager </span><span class="s1">type</span><span class="s2">=&quot;JDBC&quot;</span><span class="s0">&gt;&lt;/transactionManager&gt;</span>
            <span class="s0">&lt;dataSource </span><span class="s1">type</span><span class="s2">=&quot;POOLED&quot;</span><span class="s0">&gt;</span>
                <span class="s0">&lt;property </span><span class="s1">name</span><span class="s2">=&quot;driver&quot; </span><span class="s1">value</span><span class="s2">=&quot;${jdbc.driver}&quot;</span><span class="s0">/&gt;</span>
                <span class="s0">&lt;property </span><span class="s1">name</span><span class="s2">=&quot;url&quot; </span><span class="s1">value</span><span class="s2">=&quot;${jdbc.url}&quot;</span><span class="s0">/&gt;</span>
                <span class="s0">&lt;property </span><span class="s1">name</span><span class="s2">=&quot;username&quot; </span><span class="s1">value</span><span class="s2">=&quot;${jdbc.username}&quot;</span><span class="s0">/&gt;</span>
                <span class="s0">&lt;property </span><span class="s1">name</span><span class="s2">=&quot;password&quot; </span><span class="s1">value</span><span class="s2">=&quot;${jdbc.password}&quot;</span><span class="s0">/&gt;</span>
            <span class="s0">&lt;/dataSource&gt;</span>
        <span class="s0">&lt;/environment&gt;</span>
    <span class="s0">&lt;/environments&gt;</span>

    <span class="s0">&lt;mappers&gt;</span>
        <span class="s0">&lt;mapper </span><span class="s1">resource</span><span class="s2">=&quot;com/itheima/mapper/AccountMapper.xml&quot;</span><span class="s0">&gt;&lt;/mapper&gt;</span>
    <span class="s0">&lt;/mappers&gt;</span>
<span class="s0">&lt;/configuration&gt;</span></pre>
</body>
</html>